package com.wu.mongo;
import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * @author Cousin
 * @date 2025/3/28
 * @Description
 */
@Document("main_comment")
@Data
public class MainComment {
    @Id
    private ObjectId id;
    private String contentId;
    private Integer contentType;
    private String content;
    private Long useId;
    private Date createdAt;
    private String location;
}
